package com.sq.partner.manager.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.sq.partner.manager.common.Result;
import com.sq.partner.manager.mybatis.model.CoreDept;
import com.sq.partner.manager.mybatis.model.GatewayChannelInfo;
import com.sq.partner.manager.mybatis.model.GatewayPolicy;
import com.sq.partner.manager.mybatis.model.TreeDto;
import com.sq.partner.manager.util.Page;

public interface ScanPolicyListService {
	/**
	 * 展示汇总数据
	 * @param map
	 * @return
	 * @throws SQLException
	 */
    Map<String, String> queryLifePolicyAll(Map<String, String> map) throws Exception;
    /**
     * 导出Excel
     */
    void downloadLifePolicyFile(List<Map<String, Object>> lifePolicyList, HttpServletResponse response)
            throws Exception;

	public Result addEmailReSend(String polNo, String email) throws Exception;

	public Result addSMSReSend(String polNo, String phoneNo) throws Exception;

	Page<GatewayChannelInfo> queryChannelInfoPageOfFacadeNlife(Page<GatewayChannelInfo> page) throws Exception;

	Page queryScanPolicyPageByCriteria(Page page) throws Exception;

	List<Map<String, Object>> queryScanPolicyListByCriteria(
			Map<String, Object> map) throws Exception;
	GatewayPolicy queryScanPolicyInfoByPolNo(String polNo) throws Exception;

}
